<%
var unit = @shiro.getPrincipalProperty('unit');
layout("/layout/unify.html",{title:unit.name}){
%>

<body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">
<div id="wrapper">
    <!--左侧导航开始-->
    <nav class="navbar-default navbar-static-side" role="navigation">
        <div class="nav-close"><i class="fa fa-times-circle"></i>
        </div>
        <div class="sidebar-collapse">
            <ul class="nav" id="side-menu">
                <li class="nav-header">
                    <div class="dropdown profile-element">
                        <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                                <span class="clear">
                                    <span class="block m-t-xs" style="font-size:20px;">
                                        <i class="fa "></i>
                                        <strong class="font-bold">${unit.name}</strong>
                                    </span>
                                </span>
                        </a>
                    </div>
                    <div class="logo-element">${unit.name}
                    </div>
                </li>
                <li class="hidden-folded padder m-t m-b-sm text-muted text-xs">
                    <span class="ng-scope"></span>
                </li>
                <li>
                    <a class="J_menuItem" href="${base}/chat">
                        <i class="fa fa-home"></i>
                        <span class="nav-label">服务台</span>
                    </a>
                </li>

                <li>
                    <a class="J_menuItem" href="${base}/mobile"><i class="fa fa-book"></i> <span
                            class="nav-label">知识库</span></a>
                </li>

                <li>
                    <a class="J_menuItem" href="/error/undone.html"><i class="fa fa-clipboard"></i> <span
                            class="nav-label">快捷回复</span></a>
                </li>

                <li>
                    <a class="J_menuItem" href="/error/undone.html"><i class="fa fa-users"></i> <span class="nav-label">工作记录</span></a>
                </li>

                <li>
                    <a class="J_menuItem" href="/error/undone.html"><i class="fa fa-users"></i> <span class="nav-label">工作台设置</span></a>
                </li>

            </ul>
        </div>
    </nav>
    <!--左侧导航结束-->
    <!--右侧部分开始-->
    <div id="page-wrapper" class="gray-bg dashbard-1">
        <div class="row border-bottom">
            <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
                <div class="navbar-header"><a class="navbar-minimalize minimalize-styl-2 btn btn-info " href="#"><i
                        class="fa fa-bars"></i> </a>
                    <!--<form role="search" class="navbar-form-custom" method="post" action="search_results.html">-->
                    <!--<div class="form-group">-->
                    <!--<input type="text" placeholder="请输入您需要查找的内容 …" class="form-control" name="top-search" id="top-search">-->
                    <!--</div>-->
                    <!--</form>-->
                    <p style="    font-size: 24px; line-height: 24px; margin-top: 15px;     display: inline-block;">蛋客服工作台</p>
                </div>
                <ul class="nav navbar-top-links navbar-right">
                    <li>
                        <a class=" count-info" href="${base}/logout">
                            <i class="fa fa-sign-out"></i> 退出 <span class="label label-warning"></span>
                        </a>
                    </li>
                </ul>
            </nav>
        </div>
        <div class="row J_mainContent" id="content-main">
            <iframe id="J_iframe" width="100%" height="100%" src="/error/undone.html" frameborder="0"
                    data-id="/error/undone.html" seamless></iframe>
        </div>
    </div>
    <!--右侧部分结束-->
</div>
</body>
</html>
<% } %>